package com.chentianyu.learn.demo01.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class ReturnHtml {
    @RequestMapping({"/","/index.html"})
    public String index(){
        return "index";
    }
    @RequestMapping("/insertUser.html")
    public String insertUser(){
        return "insertUser";
    }
}
